package com.ddone.ioc.demo.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author ddone
 * @date 2024/3/19-12:30
 */
@Data
public class Address {
    private Integer id;
    @Value("${jdbc.username}")
    private String name;
    @Value("${jdbc.url}")
    private String city;
    private String province;
}
